<%@ page import="com.cskaoyan.salary.bean.Record" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/22
  Time: 11:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <%
            List<Record> records = (List<Record>) request.getAttribute("records");
        %>
        <div>
            <span>编号</span><span>转出方</span><span>转入方</span><span>金额</span><span>交易时间</span>
        </div>
        <%
            for (int i = 0; i < records.size(); i++) {


        %>
            <div>
                <span><%=records.get(i).getId()%></span>
                <span><%=records.get(i).getOut()%></span>
                <span><%=records.get(i).getIn()%></span>
                <span><%=records.get(i).getMoney()%></span>
                <span><%=records.get(i).getTransfer()%></span>
            </div>

        <%
            }
        %>
</body>
</html>
